Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@bpmn-io/feel-editor
Advanced tools
Embeddable Editor for FEEL expressions.
To get started, create a feel-editor instance:
import FeelEditor from '@bpmn-io/feel-editor';
const editor = new FeelEditor({
container
});
Configure the FEEL dialect (expression or unary tests):
const editor = new FeelEditor({
container,
dialect: 'unaryTests' // defaults to 'expression'
});
You can provide a starting document and listen for changes:
const editor = new FeelEditor({
container,
onChange,
onKeyDown,
onLint,
value
});
You can provide a variables array that will be used for auto completion. Nested structures are supported. The Variables need to be in the following format:
const editor = new FeelEditor({
container,
variables: [
{
name: 'variablename to match',
detail: 'optional inline info',
info: 'optional pop-out info',
entries: [
{
name: 'nested variable',
...
}
]
}
]
});
The variables can be updated on the instance via FeelEditor#setVariables()
:
editor.setVariables([
{
name: 'newName',
detail: 'new variable inline info',
info: 'new pop-out info'
}
]);
You can provide attributes which will be set on the content editable div:
const editor = new FeelEditor({
container,
contentAttributes: {
'aria-label': 'Expression editor'
}
});
To get the development setup make sure to have NodeJS installed. As soon as you are set up, clone the project and execute
npm install
npm start
MIT
1.9.1
FIX
: correct completion of parameterless built-ins (#63)FAQs
Editor for FEEL expressions.
The npm package @bpmn-io/feel-editor receives a total of 12,893 weekly downloads. As such, @bpmn-io/feel-editor popularity was classified as popular.
We found that @bpmn-io/feel-editor demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.